package com.soft.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 实体：看板（表 kanban）
 * 描述：团队下的任务看板，包含多个列（KanbanColumn）与条目（KanbanItem）。
 */
@TableName("kanban")
public class Kanban {
     // 主键，自增
    @TableId(type = IdType.AUTO)
    private Integer kanbanId;
    
     // 看板名称
    private String kanbanName;
    
     // 看板描述
    private String description;
    
     // 所属团队 ID
    private Integer teamId;
    
     // 创建者用户 ID
    private Integer creatorId;
    
     // 创建时间
    private LocalDateTime createTime;

    public Integer getKanbanId() {
        return kanbanId;
    }

    public void setKanbanId(Integer kanbanId) {
        this.kanbanId = kanbanId;
    }

    public String getKanbanName() {
        return kanbanName;
    }

    public void setKanbanName(String kanbanName) {
        this.kanbanName = kanbanName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
